package com.example.makerspace.dto.robotDTO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="人工客服实体类",description="人工客服实体类")
public class ImsingleDTO {
    private Integer id;
    @ApiModelProperty(value = "内容", required = true)
    private String content;
    /** 发送人 */
    @ApiModelProperty(value = "谁发的username", required = true)
    private String fromuser;
    /** 时间 */
    @ApiModelProperty(value = "时间", required = true)
    private String createTime;
    /** 类型 */
    @ApiModelProperty(value = "类型", required = true)
    private String type;
    /** 接收人 */
    @ApiModelProperty(value = "给谁", required = true)
    private String touser;
    /** 是否已读 */
    @ApiModelProperty(value = "是否已读", required = true)
    private Integer readed;
}
